reorganize basic styles and add some comments