add some comments and formate files