Generate a Custom Pattern