dynamic element tree is working