Added inputname verification