changed interfaces and attempted to fix memory leak in dump_transition_stats