SDK code sample