Added ir_base.c