added reconnect