use autocurrect to write formula