add clear statements for TI and RI