updated getitem and getslice definitions and comments