modified sample3