working on having spectrogram plotted