add the example code

Signed-off-by: Elia Pinto <pinto.elia@gmail.com>
add the example code

Signed-off-by: Elia Pinto <pinto.elia@gmail.com>