adds togglemute function and ismuted getter