add sample code, not running now