changed mean to spectrum