completed right side bracket overload for table indexing