still working on socket connect