support [] notion for inserts