add basic accounting functionality