adding connect all, not working yet