Corrected the last formula