Getting transitions to work

Working on transitions.