updated related patterns functional