Adds transitions