added Input class