Consumer Behavior and Firm Competition