add some pie options and add example