Basics of generator, table generation