When do you know the transfer of heat(thermal energy) has ended? ​