Reduce the amount of code in input reader by generelazing variables into one argument and delete explicit initialization of every variable.