adding initial state in inputfile