added strip predicates func