Adding input vector