filling out index