I instead simplified assign_default_weights