var weight created