added sound code