add extra element to arrays
add a demo