minor commenting
renaming function for getting IP address