Added the pause method implementation