working connect and ping