create custom patterns