added heap and updated graph sections