A new sample to show how to define reference object