working on accounting formula