generator one table A&B