updated 1D hbonds code