Added default values to temperature functions