add#processPattern by hand