base of the database reader