finishing the server