added pause()