added sample spectrum