added playTone block