modified: checkconnection2