add patterns in WiCore