Added code to send an item to two arrays