started working on DB connections