made sure the while loop would watch for the accessIPv4 part instead of networks