added array of elements as a config option