added playing and paused classes