add median and percentile 90
fix index calculation, data extraction
add percentiles 25, 75