- change Error to Result for consistent error handling - remove add_labels function and refactor to async function