now doing normal distribution on the number of samples and photos.