added puts to translate method