add patterns registry pattern