add new state for connection