Adding weight feature.