Create knockPatMain