table generation action