how does solubility work?