The theory of collective bargaining