A definition of accounting