adding access to DB