Added the _REI helper file