Work on extracting timeseries