building logic for trial balance