PH adjustment