added sensor network function to datamanager