added hostname attribute