add primitive arrays