adding connections to task