added precentile calculation