Input class