correct way of running through coroutine