added code style and some text change