Added first pass for reading IR data