working on associating db