changed "add" to "index"