added a delete function for time series and fixed Notes and warnings