not my pic, but this is a good pictorial representation of what needs to happen:
in the box identified "AC to DC transformer" 2 things need to happen- 1) you need a transformer to convert 120VAC to 12VAC. 2) Next, the 12VAC goes though this circuit to convert the signal to DC: