hf_flag table added