Added patterns and initial configuration