move code to use 'yield' pattern instead of plain promises
sugar syntaxt
gametime api