Added play() and pause() methods