adding play and mute functionality