refactor to use PriceChanges class and a unique helper method