add data access logics.