add example for object use