Handled edge case of 3000 items to be generated