Changed format
Updated the formula and comments