the server side of the library