use arrays in text editor