Added API for book mode