That's all there is to it

Display Listing 2.

The body of this function is very simple. 

Now you know how to define a new function for an object.

This will work regardless of how simple or how complex the body of the function may be.