modify transitions