added classes to input fields