implemented proper use of tone player