creation of IR class