added element option to choose custom element