added primitive connection checking...that might work