draw_state_table