hd-pub implementation