added wc.hs from RWH