some work on class transformations (WIP)