generate data for tables