before introducing core data