IRE - final  moduler Code