add support for coordinate transformation