added gethostname()