For much of the 20th century, the card catalog was the best way for libraries to index their holdings. Each book or other resource had at least three separate cards—an author card, a subject card, and a title card—each filed in a separate group of drawers.