changing muting method to use .muted = true