Implemented Gen.code(mib)