new api for book