I think, you should receive the amount of results as a parameter