cleaned up syntax and made mute active