Add spectrum
First working version