added name to input fields