How to assign weights to a cc bed (files included)