Updated the formula