added wifi recognition