fix way to generate things