Pass in db connection