cut off once number of entries is met