Function getComposition