working on the server interface