refactoring dataAccess