added clear sound
added some untested code, revert if broken