Added code to add strings to end of array.