change transformation functions to static and not private