added translateCoordinates()