Tweaked code for getting IRRC data