added the ability to add items to an array