add class to inputs