add code style gen
some code enhancement