removed add_hc() function, which is now unused