Use nextTick for fast code