Fixed the formula