better license generation