almost finished detect saved connections