add in spectrum parsing for more light types