use spectrum for timeseries extraction
more descriptive variable names