added sound and reset function