making the module ns-3 compliant