untested playSound function