re-organized and fleshed out marionette example