added basic trial balance function