made sure it checks for internet