prevent undef warnings when temp* used as function