modified the code style