added read_temp