testing offline detection
testing offline detection