allow for more than two items to be added to an array