Moving index into the right place.