working on hbonds code