reduced server code