Create pattern.cc