demo: separate types of node generation.