Added translate functionality