Working on transformation routine and tests.