fixed up server examples