imported core data to fix lame error