new commit of HI code and r_aa codes