adds mute functionality