I did bad in high school chemistry, I never could understand this stuff. First, the ion exchange resin beads are washed with Na+ which bind to the beads. Second, the hard water is run through the beads and bad stuff like Mg2+ has a stronger attraction to the beads than Na+, so the Na+ is pushed off and Mg2+ binds to beads. The resulting water out of tap is softer because Mg2+ is out, but saltier because Na+ is in. Then once in a while the beads are flushed with Na+ again with the Mg2+ being sent down the drain... but how does this happen if Na+ has a weaker bond? How can it push the Mg2+ off the beads??