display for a state machine