Changed the no of samples from 1 to 10.