Basic IDT code