change calculate formula