what am i doing wrong here some help please

Don’t see you waiting for IR entry there -,but I see it in the loop...