adding bisect
testing bisect and percentile