added name attribute to input elements