choosing connection