forgot return in function. added the mute callback also as second argument