made yml more flexible by adding pattern IDs and repeats