Refactor: broke down valuation formula