add example and code