hf_hw_write 1st draft