add start of transition processing code