first commit of the changes needed for the mute function