updated API example with latest change