wc functionality done with handing multiple inputs