write about generalized composition