updated input file structure, trace inf bug. prob at initialization..