enhanced composite pattern