stacksmasher example cloned from The Geek Stuff