restored DataCollector.java