generic data access codes