Added code to monitor IP addresses.