added support for the pause/play