added example of passing objects, exercise will follow shortly