I think this is a reasonable facsimile of what IR does.