implemented data access