working on core data classes