heap graph kinda working