add function "listBooks"