started a close to finished prototypeof the translator. adding function still not added