demo for element tree