Conditional to demo heap extraction