maintaining the correct alkalinity