Added the temperatures and several problem fixs