Added comments to HeapMed