Added translate() method