add code example

Signed-off-by: Danny <dannyholt@me.com>