partial fix (unable to use print)
added external function to playtune