wc function  is added