added Play/Pause feature