back up code for IR