tone files and generating code added