Added translate member function