added sound to generation