Uptake of phosphate ions by calcium carbonate