added WiFi library compatibility