added transisitions