project 2 class transformation