use globule to support multiple patterns