changed conditionType to condition-type for consistencies sake