How to build a spectrometer - implementation