added acid functions