Worked out temp_conv program