Adding compose method refactoring samples