handle array literals