change sample logic
change sample logic