added hostname to type