fixed the input file shenanigans