Added patterns flag