started fixing core data - insert predicates