added example from issue #694