pedestal subtraction is working