added wc()