this contains the stuff for nextTick