modeling the market