demo working on core data branch