Background:
I\'m working on a fit-bit fitness application. So I get updates from the fit-bit API with date, time and the heart-rate at that point in the