add support for transitions to todo