Do you mean `arr[obj,]` or `arr[obj]`? (Aren't those the same? The `,` is confusing if so.)