working version
move example to a separate repo