add librarian functionaliy