Corrected number of transitions
Fixed indentation