AddInput method