modified sample6