[GROUP10][RIOCUARTO5] TR_LOGIC Commented unused functions and corrected the do_i_... functions