1. add state charts
2. finish c comment example with test working