Adds intial state.