Edited the transitions