starting to implement transformation code.