adding an element capture example