version prior to refactoring CRUD