better structure of input file