server with mostly right public logic