moved hbond to its own file