add example use, fix #2