added connect lib