updated tones task to fix bug