rewrote server.d