ch21: crud with local data