make noagg= optoinal