extended singleCondition to deal with coverage and build more complex output