adding more datapoints and debugging