modify ns3 for lab