Working on creating the subpatterns.