IR generation work