add an example contributed by Kuangyu Wang