Added examples for issues #111 and #108