edited for IR