modification on server.c