working pause function with Pause
Merge branch 'refs/heads/sig505_3'