added mute function