Preliminary done with InitialState

some debugfile.print remains