adding db dependency