https://fundamentalsofaccounting.org/treatment-of-goodwill-in-a-business-purchase/
Treatment of Goodwill in a Business Purchase