added ignored arg to index func