changing the transitions