add new class to check the network connection