added sound handling