adding example to demonstrate adding methods to model objects