properly use IP