added online check by requesting google