Update reference to function 'transit' to 'transition', since 'transition' is the name used on lines 112 and 122.