changes in percentile calculation