removed transitionType, using classes instead