translated coroutines examples