there is also something like nextTick that ensures that something will be executed on the next iteration of the event loop