add connection predicate