trying to figure out how to transition between classes