Add code to help analyze weights.