updated to add server example