initial patternset decleration and driver