more work on extension/app example