Node temp is generalized version of demotest code