datapoint handler