Implementing server.