updated utils file with mute() function