- added pause functionality