pass multiple elements with the value of 1 into an empty array