db connection separated