working VariablePredicateProvider for predicate comparision