added intervals to data logger