added classes to input elements