pattern registry