modified to just call connect