tweaked daogrp to maximize efficiency