add spectrum subtraction