modified AddNewConnection