increased number of samples from 5 to 9