Accessing docs using array index notations? How to do that?