remove codes about design patterns