db connection structure is ok