add capacitor to comparator input