added expand for N arms