Example of how to pass Objects