fitting of temp curve, incomplete