add example it README.md, use switch to fill _param