Render elements from array