clean code for bigboss coroutine