assignment 6 & core data app