core data sample for add/search/delete options