more work on Survey example