Added underscore to the table generator function definition