initial state is closed