modified sample2