added connect and open tasks