pause function

Pause before continuing execution