add methodes to create a time table for a state machine