power supply
When you add a capacitor, the capacitor will charge to the peak voltage each half-cycle, and, if there is any load current, will discharge between the AC peaks. With no load, you should measure a DC voltage equal to the AC peak voltage (possibly minus 0.7 volts or so lost in the rectifier diodes).