add set tone functionality