Added uppercase to transitions in the correct location