Added a table environment generator