fixed the translation function, works. It is in main and need to seperate it out tomorrow