better classes for input