manual computation ph