first hack to use coroutines