Use correct index