add array selection

Change-Id: I97f84bac6989021c86f7b627af97863125d5339c