heat map implementation finished