adding group ids being passed to yielded code