wc func is added