some new and complete redesign function

希望好使