added text/array documentation