globals and server