w1 and w2 assignments