talisman sample code