The child found a new invention in a library of ancient books.