working with spectrum