add number to insert in an array