Simplified code.
Renamed IP to Host.