adding some triggers for reconnect