removed process.nextTick