added check if internet working method