added connect to inf