modified frame regulation code