Extracted code into function to clean up transforms.
Removed function to get results - its now part of the users.