added simple Input class