move InputParser constructor...