phase 2 class state charts