changing core data methods