added detailed sections for patterns