keep track of limit in search