After 1748, Goldoni collaborated with the composer Baldassare Galuppi, making significant contributions to the new form of 'opera buffa'. Galuppi composed the score for more than twenty of Goldoni's librettos. As with his comedies, Goldoni's "opera buffa" integrate elements of the Commedia dell'arte with recognisable local and middle-class realities. His operatic works include two of the most successful musical comedies of the eighteenth century, "Il filosofo di campagna" ("The Country Philosopher"), set by Galuppi (1752) and "La buona figliuola" ("The Good Girl"), set by Niccolò Piccinni (1760).