array slicing works (i think)