w/l2 calculations