static server base code