added a little bit of predicate business