adding enumSet generator
finetuning: remove warning and improve indentation of generated code