add example operator code