added smart related patterns