changed up some index stuffs