if runningStages -= is executed above, the if condition will always return false.