adding sequence numbers for books