add class to input