add missing definitions for temp_pc.
Issue #1.