changed sequence of arguments in storeTimeSeries