Added IR code