working demo of weights