Added patterns. 1st attempt