table generation tips