create a class for the input table. check the input values