add css , add some comments and functions