extended for temperature logging