reviewed and commented util.nextTick