[IMP] hr : reduce a code for set attedance group