Added spectrum class