inserted the proper formulas