added new attributes for input fields