remember zero-indexing -- so fruits[ len(fruits) ] doesn't exist -- so either pass len(fruits)-1, or add the one later...