toStringArray method