finished integrating spinner page with index