many changes

performance optimization & myself writing habit.