modreg fully functional