starting to work on pH functionality