first version of rover-server.c