add custom patterns