PoC for a simpler pager that doesn't require a total
added threshold parameter enabling to look-ahead more then 1 result