implementing TimeSeries hoard based lib