starts implementing heatflow