Added sound playing functionality