added patterns section