The nature and purpose of accounting