server things changed

Change functions in server.