adding first example code
changes to get first example working
add example