change how index is loaded
 fix something
added back stuff