keeping connect task for future reference