added translate version
using translate method