Added the mechanism to note breaking or forming of HBonds