updated pgr, hgr, agr, lgr to accept *args