Added appendToStringArray() and appendToIntArray()