add example code