now supports gethost