added getNextTablePart method