IR TEST CODE WORKING