Making cofactor percentile a parameter.