add RI to the BORO code