Added nodes and elements to shared