removed IP Addresses from if statement