composite patterns