added patterns, almost done