read temp prototype