This selects the oldest sample, not the newest. Should this be:

```
newest := samples[len(samples)-1].Timestamp
```