Used wrong formula in previous commit