adding utility functions to Transform so we don't have to write the in the viewer