user inputs parsed with new class