* finishes translator
* clean up main function