add example

Signed-off-by: Mingxi Wu <thisisforivy@gmail.com>