finally correct index