add define of connection