We consulted with our auditors and relied on their guidance in arriving at the accounting treatment for the divestiture. Due to the integration of certain aspects of HelloWallet into Morningstar, a single reporting unit, the accounting standards look to the fair value allocation method in attributing goodwill to the divestiture. We attributed $2.4 million of goodwill based on the sale proceeds of HelloWallet relative to the total fair value of Morningstar.
The gain we recorded in June 2017 mainly represents the sale proceeds of $23.7 million less $2.4 million of goodwill and the write-off of the remaining net book value of the acquired intangible assets.