Started working on state card transition tables