removed patterns_utils