(re?)added pause functionality