started working on db connector