change code style and add header