peter-bochs state chart diagram