add pause method to player