Finally figure out how to do spectrum with different peaks