more work on the generate tab