Added transTo and transBack methods for translation