New examples code