changing index limit from 10 to 5