add JMR pattern.