adjusted db access file for online