is 'element' param returning an array of elements?