renamend StopCondition to StopConditions