adding to the array