Can't we avoid this duplication? The first method can call the second method with tableNum=0