add limit of 10 to prevent high mem usage