moving carbonate stuff to its own file