Initial state implementation.