transitions optimizations.