experimental local server code