modified server.c