Added possibility to initiate on an array of elements