Implement example as suggested in #112