added cache functions for transitions