draft of IR Generator