added wav and sound playing