core data can save things to the database