server control functions