I need an explanation of the IR receiver code