changing around the indexes for the speed