Separate classes for different inputs