uprava weights.m