complete a simulation for wns3