swapped to and from in translate