still working on transition function for ctp