changing the IRCheck method