single threaded server that works (at least)