Shouldn't we call the two argument ```startPage, endPage``` instead of ```startIndex, endIndex```? Clearer terminology.