Adding named patterns