Risk allocation through collaboration