Create weight.hs