genres table generation