routing for sam index