Baby swing Battery to A/C adapter

This is an adapter to allow a wall power adapter to be rigged up to a baby swing that only accepts battery power. The adapters fit C size battery slots. I soldered some springs to the wires and I used a spare 1/4" air brake insert pushed into the top of one of the springs. Hopefully this can be helpful to someone.