utility class for composition