can generate random tables
table replacement works