How to use simple array subscripts