you are now querying all input elements in the page. Is it really more efficient than the previous code ?