object deletion from core data implemented