matching supply and demand