made it connect to server