added summary, time series elongate function