working copy of app client tutorial example