work on core data/sample pad