added accessing sub-arrays