add example for method