A model of competition