Added toStringArray method