modified for hostname