working on transition table