makeconnection in scope