Essentially working. Next steps: get transform to return the error messages, and add in the rest of the transformations.