composite pattern map