ADD: anchor sample code