First off, your index is 0 so your for doesn't loop. Replace index with myBook.size()