use opt.db instead of opt.dbConn, no need to introduce more names