A model of cooperation & competition mechanism