Compute the value