added details and summry element to patterns