add example and modify readme